package com.basics.phone.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.basics.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author WangWei
 * @since 2025-05-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_phone")
@ApiModel(value="DmPhone对象", description="")
public class DmPhone extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "号码状态(1正常,2异常)")
    private Boolean status;

    @ApiModelProperty(value = "创建来源(1,手动创建,2导入)")
    private Boolean sourceType;

    @ApiModelProperty(value = "是否可加微信")
    private Boolean wxFlag;

    @ApiModelProperty(value = "检索用户ID")
    private String retrievalUser;


}
